﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C65 RID: 3173
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NJBIOGNJJMD : IMessage<NJBIOGNJJMD>, IMessage, IEquatable<NJBIOGNJJMD>, IDeepCloneable<NJBIOGNJJMD>, IBufferMessage
	{
		// Token: 0x170027F9 RID: 10233
		// (get) Token: 0x06008DDF RID: 36319 RVA: 0x00179080 File Offset: 0x00177280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NJBIOGNJJMD> Parser
		{
			get
			{
				return NJBIOGNJJMD._parser;
			}
		}

		// Token: 0x170027FA RID: 10234
		// (get) Token: 0x06008DE0 RID: 36320 RVA: 0x00179087 File Offset: 0x00177287
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NJBIOGNJJMDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170027FB RID: 10235
		// (get) Token: 0x06008DE1 RID: 36321 RVA: 0x00179099 File Offset: 0x00177299
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NJBIOGNJJMD.Descriptor;
			}
		}

		// Token: 0x06008DE2 RID: 36322 RVA: 0x001790A0 File Offset: 0x001772A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NJBIOGNJJMD()
		{
		}

		// Token: 0x06008DE3 RID: 36323 RVA: 0x001790A8 File Offset: 0x001772A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NJBIOGNJJMD(NJBIOGNJJMD other) : this()
		{
			this.mPJPKDCIPJE_ = ((other.mPJPKDCIPJE_ != null) ? other.mPJPKDCIPJE_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008DE4 RID: 36324 RVA: 0x001790DD File Offset: 0x001772DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NJBIOGNJJMD Clone()
		{
			return new NJBIOGNJJMD(this);
		}

		// Token: 0x170027FC RID: 10236
		// (get) Token: 0x06008DE5 RID: 36325 RVA: 0x001790E5 File Offset: 0x001772E5
		// (set) Token: 0x06008DE6 RID: 36326 RVA: 0x001790ED File Offset: 0x001772ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MDAJKAFACAJ MPJPKDCIPJE
		{
			get
			{
				return this.mPJPKDCIPJE_;
			}
			set
			{
				this.mPJPKDCIPJE_ = value;
			}
		}

		// Token: 0x06008DE7 RID: 36327 RVA: 0x001790F6 File Offset: 0x001772F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NJBIOGNJJMD);
		}

		// Token: 0x06008DE8 RID: 36328 RVA: 0x00179104 File Offset: 0x00177304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NJBIOGNJJMD other)
		{
			return other != null && (other == this || (object.Equals(this.MPJPKDCIPJE, other.MPJPKDCIPJE) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008DE9 RID: 36329 RVA: 0x00179138 File Offset: 0x00177338
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.mPJPKDCIPJE_ != null)
			{
				num ^= this.MPJPKDCIPJE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008DEA RID: 36330 RVA: 0x00179174 File Offset: 0x00177374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008DEB RID: 36331 RVA: 0x0017917C File Offset: 0x0017737C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008DEC RID: 36332 RVA: 0x00179185 File Offset: 0x00177385
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.mPJPKDCIPJE_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.MPJPKDCIPJE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008DED RID: 36333 RVA: 0x001791B8 File Offset: 0x001773B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.mPJPKDCIPJE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MPJPKDCIPJE);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008DEE RID: 36334 RVA: 0x001791F8 File Offset: 0x001773F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NJBIOGNJJMD other)
		{
			if (other == null)
			{
				return;
			}
			if (other.mPJPKDCIPJE_ != null)
			{
				if (this.mPJPKDCIPJE_ == null)
				{
					this.MPJPKDCIPJE = new MDAJKAFACAJ();
				}
				this.MPJPKDCIPJE.MergeFrom(other.MPJPKDCIPJE);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008DEF RID: 36335 RVA: 0x0017924C File Offset: 0x0017744C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008DF0 RID: 36336 RVA: 0x00179258 File Offset: 0x00177458
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.mPJPKDCIPJE_ == null)
					{
						this.MPJPKDCIPJE = new MDAJKAFACAJ();
					}
					input.ReadMessage(this.MPJPKDCIPJE);
				}
			}
		}

		// Token: 0x04003622 RID: 13858
		private static readonly MessageParser<NJBIOGNJJMD> _parser = new MessageParser<NJBIOGNJJMD>(() => new NJBIOGNJJMD());

		// Token: 0x04003623 RID: 13859
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003624 RID: 13860
		public const int MPJPKDCIPJEFieldNumber = 1;

		// Token: 0x04003625 RID: 13861
		private MDAJKAFACAJ mPJPKDCIPJE_;
	}
}
